﻿

using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotContract.Interfaces;
/// <summary>
/// 推送的数据接口
/// </summary>
public interface IPushEquip
{
    /// <summary>
    /// 设备Id
    /// </summary>
    public long Id { get; set; }
    /// <summary>
    /// 程序Id
    /// </summary>
    public long ProgramId { get; set; }
    /// <summary>
    /// 值
    /// </summary>
    public string Value { get; set; }
    /// <summary>
    /// 协议
    /// </summary>

    public string ProtobufType { get; set; }
    /// <summary>
    /// 设备类型
    /// </summary>
    public string EquipType { get; set; }
    /// <summary>
    /// 是否连接
    /// </summary>
    public bool Connection { get; set; }
    /// <summary>
    /// 轮询状态
    /// </summary>
    public bool Status { get; set; }

    /// <summary>
    /// 是否拥有点位
    /// </summary>
    public bool HasTags { get; set; }


    /// <summary>
    /// 备注信息
    /// </summary>
    public string Remark { get; set; }

}
